package io.renren.modules.cards.service.impl;

import io.renren.modules.cards.dao.AmgCdkUsersDao;
import io.renren.modules.cards.entity.AmgCdkUsersEntity;
import io.renren.modules.cards.service.AmgCdkUsersService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;




@Service("amgCdkUsersService")
public class AmgCdkUsersServiceImpl extends ServiceImpl<AmgCdkUsersDao, AmgCdkUsersEntity> implements AmgCdkUsersService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<AmgCdkUsersEntity> page = this.selectPage(
                new Query<AmgCdkUsersEntity>(params).getPage(),
                new EntityWrapper<AmgCdkUsersEntity>()
        );

        return new PageUtils(page);
    }

}
